package com.campus.service;

import com.campus.dto.ActivityCreateDto;
import com.campus.dto.ActivityQueryDto;
import com.campus.model.Activity;

import java.util.List;

public interface ActivityService {

    Activity createActivity(ActivityCreateDto activityCreateDto);

    Activity updateActivity(int id, ActivityCreateDto activityCreateDto);

    boolean publishActivity(int id);

    List<Activity> queryActivities(ActivityQueryDto activityQueryDto);
}
